package com.mxt.moviedemo.service;

import com.mxt.moviedemo.entity.PageResult;
import com.mxt.moviedemo.entity.Ticket;
import org.springframework.data.domain.PageRequest;


public interface TicketService {
    PageResult<Ticket> getTicketByPage(PageRequest pageRequest);

    PageResult<Ticket> searchTicketByKeyword(PageRequest pageRequest, String keyword);


    Ticket getTicketById(int tid);
}
